package com.rykj.qxj.server.model.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * 应用关联的人物信息
 */

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
@Table(name="apply_relate_party")
public class ApplyRelateParty {

    @Id
    @GeneratedValue
    private int id;
    @ApiModelProperty(value = "应用id主键")
    private int  applyId;
    @ApiModelProperty(value = "人物名称")
    private String  personage;
    @ApiModelProperty(value = "归属团体")
    private String  belongGroup;
    @ApiModelProperty(value = "联系电话")
    private String  phoneNumber;
    @ApiModelProperty(value = "类型")
    private String  type;
    @ApiModelProperty(value = "删除状态,normal:正常;delete:删除")
    private String  status;
    @ApiModelProperty(value = "创建时间")
    private Date createdTime;
    @ApiModelProperty(value = "创建人")
    private String  createdBy;



}
